home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / dev / misc / libx11.lha / libX11 / xemul4.c < prev    next >
Encoding:
C/C++ Source or Header  |  1996-09-22  |  18.8 KB  |  826 lines

  1. /* Copyright (c) 1996 by Terje Pedersen.  All Rights Reserved   */
  2. /*                                                              */
  3. /* By using this code you will agree to these terms:            */
  4. /*                                                              */
  5. /* 1. You may not use this code for profit in any way or form   */
  6. /*    unless an agreement with the author has been reached.     */
  7. /*                                                              */
  8. /* 2. The author is not responsible for any damages caused by   */
  9. /*    the use of this code.                                     */
  10. /*                                                              */
  11. /* 3. All modifications are to be released to the public.       */
  12. /*                                                              */
  13. /* Thats it! Have fun!                                          */
  14. /* TP                                                           */
  15. /*                                                              */
  16.  
  17. /***
  18.    NAME
  19.      xemul4
  20.    PURPOSE
  21.      
  22.    NOTES
  23.      
  24.    HISTORY
  25.      Terje Pedersen - Feb 14, 1995: Created.
  26. ***/
  27.  
  28. #include <intuition/intuition.h>
  29. #include <intuition/intuitionbase.h>
  30.  
  31. #include <graphics/gfx.h>
  32. #include <graphics/gfxbase.h>
  33. #include <graphics/gfxmacros.h>
  34. #include <graphics/displayinfo.h>
  35. #include <devices/timer.h>
  36.  
  37. #include <proto/intuition.h>
  38. #include <proto/graphics.h>
  39. #include <proto/gadtools.h>
  40. #include <proto/layers.h>
  41.  
  42. #include <dos.h>
  43. #include <signal.h>
  44. #include <stdlib.h>
  45. #include <time.h>
  46. #include <stdio.h>
  47.  
  48. #include "libX11.h"
  49.  
  50. #define XLIB_ILLEGAL_ACCESS 1
  51.  
  52. #include <X11/X.h>
  53. #include <X11/Xlib.h>
  54. #include <X11/Xutil.h>
  55. #include <X11/Intrinsic.h>
  56. #include <X11/IntrinsicP.h>
  57. #include <X11/CoreP.h>
  58. #include "amigax_proto.h"
  59. #include "amiga_x.h"
  60.  
  61. XIOErrorHandler XSetIOErrorHandler(XIOErrorHandler h)
  62. {/*      File 'main.o'*/
  63. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  64.   printf("WARNING: XSetIOErrorHandler\n");
  65. #endif
  66.   return(0);
  67. }
  68.  
  69.  
  70. listWidgetClass(){/*         File 'w_dir.o'*/
  71. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  72.   printf("WARNING: listWidgetClass\n");
  73. #endif
  74.   return(0);
  75. }
  76.  
  77. void XtGetSelectionValue(w, selection, target, callback, client_data,
  78.              time)
  79.      Widget w;
  80.      Atom selection;
  81.      Atom target;
  82.      XtSelectionCallbackProc callback;
  83.      XtPointer client_data;
  84.      Time time;
  85. {/*     File 'e_edit.o'*/
  86. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  87.   printf("WARNING: XtGetSelectionValue\n");
  88. #endif
  89.   return(0);
  90. }
  91.  
  92. void XtSetSensitive(w, sensitive)
  93.      Widget w;
  94.      Boolean sensitive;
  95.  
  96. {/*          File 'w_cmdpanel.o'*/
  97. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  98.   printf("WARNING: XtSetSensitive\n");
  99. #endif
  100.   return;
  101. }
  102.  
  103. XawFormDoLayout(){/*         File 'main.o'*/
  104. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  105.   printf("WARNING: XawFormDoLayout\n");
  106. #endif
  107.   return(0);
  108. }
  109.  
  110. void XtInstallAllAccelerators(destination, source)
  111.      Widget destination;
  112.      Widget source;
  113. {/* File 'main.o'*/
  114. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  115.   printf("WARNING: XtInstallAllAccelerators\n");
  116. #endif
  117.   return(0);
  118. }
  119.  
  120. Widget XtCreateWidget(name, object_class, parent, args, num_args)
  121.      String name;
  122.      WidgetClass object_class;
  123.      Widget parent;
  124.      ArgList args;
  125.      Cardinal num_args;
  126. {/*          File 'w_canvas.o'*/
  127. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  128.   printf("WARNING: XtCreateWidget\n");
  129. #endif
  130.   return(0);
  131. }
  132.  
  133. int XGeometry(display, screen, position, default_position, bwidth,
  134.           fwidth, fheight, xadder, yadder, x_return, y_return,
  135.           width_return, height_return)
  136.      Display *display;
  137.      int screen;
  138.      char *position,*default_position;
  139.      unsigned int bwidth;
  140.      unsigned int fwidth, fheight;
  141.      int xadder, yadder;
  142.      int *x_return,*y_return,*width_return,*height_return;
  143. {/*               File 'main.o'*/
  144. #ifdef DEBUGXEMUL_ENTRY
  145.   printf("XGeometry\n");
  146. #endif
  147.   if(strlen(position)>1)
  148.     XParseGeometry(position,x_return,y_return,width_return,height_return);
  149.   else
  150.     XParseGeometry(default_position,x_return,y_return,width_return,height_return);
  151.   return(0);
  152. }
  153.  
  154. XDefaultDepthOfScreen(){/*   File 'e_edit.o'*/
  155. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  156.   printf("WARNING: XDefaultDepthOfScreen\n");
  157. #endif
  158.   return(0);
  159. }
  160.  
  161. boxWidgetClass(){/*          File 'w_color.o'*/
  162. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  163.   printf("WARNING: boxWidgetClass\n");
  164. #endif
  165.   return(0);
  166. }
  167.  
  168. XUnloadFont(){/*             File 'u_free.o'*/
  169. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  170.   printf("WARNING: XUnloadFont\n");
  171. #endif
  172.   return(0);
  173. }
  174.  
  175. void XtStringConversionWarning(src, dst_type)
  176.      String src, dst_type;
  177. {/* File 'w_util.o'*/
  178. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  179.   printf("WARNING: XtStringConversionWarning\n");
  180. #endif
  181.   return(0);
  182. }
  183.  
  184. XSetWMProtocols(){/*         File 'e_edit.o'*/
  185. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  186.   printf("WARNING: XSetWMProtocols\n");
  187. #endif
  188.   return(0);
  189. }
  190.  
  191. XawTextReplace(){/*          File 'w_msgpanel.o'*/
  192. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  193.   printf("WARNING: XawTextReplace\n");
  194. #endif
  195.   return(0);
  196. }
  197.  
  198. transientShellWidgetClass(){/* File 'e_edit.o'*/
  199. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  200.   printf("WARNING: transientShellWidgetClass\n");
  201. #endif
  202.   return(0);
  203. }
  204.  
  205. XGetFontProperty(){/*        File 'w_rottext.o'*/
  206. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  207.   printf("WARNING: XGetFontProperty\n");
  208. #endif
  209.   return(0);
  210. }
  211.  
  212. FMT8BIT(){/*                 File 'w_msgpanel.o'*/
  213. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  214.   printf("WARNING: FMT8BIT\n");
  215. #endif
  216.   return(0);
  217. }
  218.  
  219. labelWidgetClass(){/*        File 'e_edit.o'*/
  220. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  221.   printf("WARNING: labelWidgetClass\n");
  222. #endif
  223.   return(0);
  224. }
  225.  
  226. XFreeFontNames(){/*          File 'w_drawprim.o'*/
  227. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  228.   printf("WARNING: XFreeFontNames\n");
  229. #endif
  230.   return(0);
  231. }
  232.  
  233. void XtAppAddConverter(app_context, from_type, to_type, converter,
  234.                convert_args, num_args)
  235.      XtAppContext app_context;
  236.      String from_type;
  237.      String to_type;
  238.      XtConverter converter;
  239.      XtConvertArgList convert_args;
  240.      Cardinal num_args;
  241. {/*       File 'w_util.o'*/
  242. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  243.   printf("WARNING: XtAppAddConverter\n");
  244. #endif
  245.   return(0);
  246. }
  247.  
  248. viewportWidgetClass(){/*     File 'e_edit.o'*/
  249. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  250.   printf("WARNING: viewportWidgetClass\n");
  251. #endif
  252.   return(0);
  253. }
  254.  
  255. void XtVaGetValues(Widget object,... )
  256. {/*           File 'w_color.o'*/
  257. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  258.   printf("WARNING: XtVaGetValues\n");
  259. #endif
  260.   return(0);
  261. }
  262.  
  263. void XtTranslateCoords(
  264.     Widget          widget ,
  265.     _XtPosition         x ,
  266.     _XtPosition         y ,
  267.     Position*         rootx_return ,
  268.     Position*         rooty_return 
  269. )
  270. {/*       File 'e_edit.o'*/
  271. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  272.   printf("WARNING: XtTranslateCoords\n");
  273. #endif
  274.   return(0);
  275. }
  276.  
  277. smeBSBObjectClass(){/*       File 'e_edit.o'*/
  278. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  279.   printf("WARNING: smeBSBObjectClass\n");
  280. #endif
  281.   return(0);
  282. }
  283.  
  284. KeySym XStringToKeysym(string)
  285.      char *string;
  286. {/*         File 'w_canvas.o'*/
  287. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  288.   printf("WARNING: XStringToKeysym\n");
  289. #endif
  290.   return(0);
  291. }
  292.  
  293. toggleWidgetClass(){/*       File 'e_edit.o'*/
  294. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  295.   printf("WARNING: toggleWidgetClass\n");
  296. #endif
  297.   return(0);
  298. }
  299.  
  300. XWMHints *XGetWMHints(display, w)
  301.      Display *display;
  302.      Window w;
  303. {/*             File 'main.o'*/
  304. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  305.   printf("WARNING: XGetWMHints\n");
  306. #endif
  307.   return(0);
  308. }
  309.  
  310. commandWidgetClass(){/*      File 'e_edit.o'*/
  311. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  312.   printf("WARNING: commandWidgetClass\n");
  313. #endif
  314.   return(0);
  315. }
  316.  
  317. Colormap XCopyColormapAndFree(display, colormap)
  318.      Display *display;
  319.      Colormap colormap;
  320. {/*    File 'w_color.o'*/
  321. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  322.   printf("WARNING: XCopyColormapAndFree\n");
  323. #endif
  324.   return(0);
  325. }
  326.  
  327. formWidgetClass(){/*         File 'e_edit.o'*/
  328. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  329.   printf("WARNING: formWidgetClass\n");
  330. #endif
  331.   return(0);
  332. }
  333.  
  334. XawTextSetInsertionPoint(){/* File 'e_edit.o'*/
  335. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  336.   printf("WARNING: XawTextSetInsertionPoint\n");
  337. #endif
  338.   return(0);
  339. }
  340.  
  341. Widget XtCreatePopupShell(
  342.     _Xconst _XtString    name ,
  343.     WidgetClass     widgetClass ,
  344.     Widget         parent ,
  345.     ArgList         args ,
  346.     Cardinal         num_args
  347.  
  348. )
  349. {/*      File 'e_edit.o'*/
  350. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  351.   printf("WARNING: XtCreatePopupShell\n");
  352. #endif
  353.   return(0);
  354. }
  355.  
  356. asciiTextWidgetClass(){/*    File 'e_edit.o'*/
  357. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  358.   printf("WARNING: asciiTextWidgetClass\n");
  359. #endif
  360.   return(0);
  361. }
  362.  
  363. void XtOverrideTranslations(w, translations)
  364.      Widget w;
  365.      XtTranslations translations;
  366. {/*  File 'e_edit.o'*/
  367. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  368.   printf("WARNING: XtOverrideTranslations\n");
  369. #endif
  370.   return(0);
  371. }
  372.  
  373. scrollbarWidgetClass(){/*    File 'w_color.o'*/
  374. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  375.   printf("WARNING: scrollbarWidgetClass\n");
  376. #endif
  377.   return(0);
  378. }
  379.  
  380. menuButtonWidgetClass(){/*   File 'e_edit.o'*/
  381. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  382.   printf("WARNING: menuButtonWidgetClass\n");
  383. #endif
  384.   return(0);
  385. }
  386.  
  387. simpleMenuWidgetClass(){/*   File 'e_edit.o'*/
  388. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  389.   printf("WARNING: simpleMenuWidgetClass\n");
  390. #endif
  391.   return(0);
  392. }
  393.  
  394. XLookUpAssoc(){/*            File 'xsol.o'*/
  395. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  396.   printf("WARNING: XLookUpAssoc\n");
  397. #endif
  398.   return(0);
  399. }
  400.  
  401. XCreateAssocTable(){/*       File 'xsol.o'*/
  402. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  403.   printf("WARNING: XCreateAssocTable\n");
  404. #endif
  405.   return(0);
  406. }
  407.  
  408. XUnmapSubwindows(){/*        File 'xsol.o'*/
  409. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  410.   printf("WARNING: XUnmapSubwindows\n");
  411. #endif
  412.   return(0);
  413. }
  414.  
  415. XMakeAssoc(){/*              File 'xsol.o'*/
  416. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  417.   printf("WARNING: XMakeAssoc\n");
  418. #endif
  419.   return(0);
  420. }
  421.  
  422.  
  423. execl(){
  424.   return 0;
  425. }
  426.  
  427. fork(){
  428.   return 0;
  429. }
  430.  
  431. flock(){
  432.   return 0;
  433. }
  434.  
  435. mpthd_switch(){/*            File 'program.o'*/
  436. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  437.   printf("WARNING: mpthd_switch\n");
  438. #endif
  439.   return(0);
  440. }
  441.  
  442. mpthd_me_reg(){/*            File 'program.o'*/
  443. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  444.   printf("WARNING: _mpthd_me_reg\n");
  445. #endif
  446.   return(0);
  447. }
  448. mpthd_init(){/*              File 'program.o'*/
  449. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  450.   printf("WARNING: _mpthd_init\n");
  451. #endif
  452.   return(0);
  453. }
  454. mpthd_setup(){/*             File 'program.o'*/
  455. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  456.   printf("WARNING: _mpthd_setup\n");
  457. #endif
  458.   return(0);
  459. }
  460.  
  461. /* xnmr */
  462.  
  463. XmListItemExists(){/*        File 'thermo.o' */
  464. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  465.   printf("WARNING: XmListItemExists\n");
  466. #endif
  467.   return(0);
  468. }
  469.  
  470. xmCascadeButtonGadgetClass(){/* File 'xnmr.o' */
  471. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  472.   printf("WARNING: xmCascadeButtonGadgetClass\n");
  473. #endif
  474.   return(0);
  475. }
  476.  
  477. topLevelShellWidgetClass(){/* File 'computation.o' */
  478. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  479.   printf("WARNING: topLevelShellWidgetClass\n");
  480. #endif
  481.   return(0);
  482. }
  483.  
  484. XmListSelectItem(){/*        File 'thermo.o' */
  485. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  486.   printf("WARNING: XmListSelectItem\n");
  487. #endif
  488.   return(0);
  489. }
  490.  
  491. XmTextFieldGetString(){/*    File 'display.o' */
  492. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  493.   printf("WARNING: XmTextFieldGetString\n");
  494. #endif
  495.   return(0);
  496. }
  497.  
  498. XmFontListFreeFontContext(){/* File 'xnmr.o' */
  499. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  500.   printf("WARNING: XmFontListFreeFontContext\n");
  501. #endif
  502.   return(0);
  503. }
  504.  
  505. XmCreateWarningDialog(){/*   File 'xnmr.o' */
  506. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  507.   printf("WARNING: XmCreateWarningDialog\n");
  508. #endif
  509.   return(0);
  510. }
  511.  
  512. XmListGetSelectedPos(){/*    File 'options.o' */
  513. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  514.   printf("WARNING: XmListGetSelectedPos\n");
  515. #endif
  516.   return(0);
  517. }
  518.  
  519. XmFontListAdd(){/*           File 'xnmr.o' */
  520. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  521.   printf("WARNING: XmFontListAdd\n");
  522. #endif
  523.   return(0);
  524. }
  525.  
  526. XtHasCallbacks(){/*          File 'display.o' */
  527. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  528.   printf("WARNING: XtHasCallbacks\n");
  529. #endif
  530.   return(0);
  531. }
  532.  
  533. XmCreateQuestionDialog(){/*  File 'xnmr.o' */
  534. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  535.   printf("WARNING: XmCreateQuestionDialog\n");
  536. #endif
  537.   return(0);
  538. }
  539.  
  540. Boolean XtIsSubclass(Widget w,WidgetClass c){/*            File 'computation.o' */
  541. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  542.   printf("WARNING: XtIsSubclass\n");
  543. #endif
  544.   return(0);
  545. }
  546.  
  547. Widget XtVaCreatePopupShell(_Xconst _XtString name,WidgetClass c, Widget w,... ){/*    File 'computation.o' */
  548. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  549.   printf("WARNING: XtVaCreatePopupShell\n");
  550. #endif
  551.   return(0);
  552. }
  553.  
  554. XmTextFieldSetString(){/*    File 'options.o' */
  555. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  556.   printf("WARNING: XmTextFieldSetString\n");
  557. #endif
  558.   return(0);
  559. }
  560.  
  561. Widget XtVaAppInitialize(
  562.     XtAppContext *app_context_return,
  563.     _Xconst _XtString    application_class,
  564.     XrmOptionDescList    options ,
  565.     Cardinal        num_options,
  566.     int*        argc_in_out,
  567.     String*        argv_in_out,
  568.     String*        fallback_resources,...
  569. ){/*       File 'xnmr.o' */
  570. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  571.   printf("WARNING: XtVaAppInitialize\n");
  572. #endif
  573.   return(0);
  574. }
  575.  
  576. XmFileSelectionBoxGetChild(){/* File 'file.o' */
  577. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  578.   printf("WARNING: XmFileSelectionBoxGetChild\n");
  579. #endif
  580.   return(0);
  581. }
  582.  
  583. void XtUngrabKeyboard(Widget w,Time t){/*        File 'file.o' */
  584. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  585.   printf("WARNING: XtUngrabKeyboard\n");
  586. #endif
  587.   return(0);
  588. }
  589.  
  590. xmDialogShellWidgetClass(){/* File 'computation.o' */
  591. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  592.   printf("WARNING: xmDialogShellWidgetClass\n");
  593. #endif
  594.   return(0);
  595. }
  596.  
  597. void XtAppError(XtAppContext app_context, _Xconst _XtString message){/*              File 'xnmr.o' */
  598. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  599.   printf("WARNING: XtAppError\n");
  600. #endif
  601.   return(0);
  602. }
  603.  
  604. XmRepTypeInstallTearOffModelConv(){/* File 'xnmr.o' */
  605. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  606.   printf("WARNING: XmRepTypeInstallTearOffModelConv\n");
  607. #endif
  608.   return(0);
  609. }
  610.  
  611. xmPanedWindowWidgetClass(){/* File 'help.o' */
  612. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  613.   printf("WARNING: xmPanedWindowWidgetClass\n");
  614. #endif
  615.   return(0);
  616. }
  617.  
  618. XmCreateScrolledList(){/*    File 'file.o' */
  619. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  620.   printf("WARNING: XmCreateScrolledList\n");
  621. #endif
  622.   return(0);
  623. }
  624.  
  625. long XMaxRequestSize(Display *d){/*         File 'xnmr.o' */
  626. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  627.   printf("WARNING: XMaxRequestSize\n");
  628. #endif
  629.   return(0);
  630. }
  631.  
  632. xmFormWidgetClass(){/*       File 'file.o' */
  633. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  634.   printf("WARNING: xmFormWidgetClass\n");
  635. #endif
  636.   return(0);
  637. }
  638.  
  639. xmScrollBarWidgetClass(){/*  File 'windlib.o' */
  640. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  641.   printf("WARNING: xmScrollBarWidgetClass\n");
  642. #endif
  643.   return(0);
  644. }
  645.  
  646. XmFontListInitFontContext(){/* File 'xnmr.o' */
  647. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  648.   printf("WARNING: XmFontListInitFontContext\n");
  649. #endif
  650.   return(0);
  651. }
  652.  
  653. XmProcessTraversal(){/*      File 'computation.o' */
  654. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  655.   printf("WARNING: XmProcessTraversal\n");
  656. #endif
  657.   return(0);
  658. }
  659.  
  660. XmStringCreateSimple(){/*    File 'computation.o' */
  661. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  662.   printf("WARNING: XmStringCreateSimple\n");
  663. #endif
  664.   return(0);
  665. }
  666.  
  667. gethostname(char *buf,int len){/*             File 'xnmr.o' */
  668. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  669.   printf("WARNING: gethostname\n");
  670. #endif
  671.   XmuGetHostname(buf,len);
  672.   return(0);
  673. }
  674.  
  675. void XtUninstallTranslations(Widget widget){/* File 'windlib.o' */
  676. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  677.   printf("WARNING: XtUninstallTranslations\n");
  678. #endif
  679.   return(0);
  680. }
  681.  
  682. XmListDeleteAllItems(){/*    File 'file.o' */
  683. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  684.   printf("WARNING: XmListDeleteAllItems\n");
  685. #endif
  686.   return(0);
  687. }
  688.  
  689. void XtUngrabPointer(Widget widget,Time t){/*         File 'windlib.o' */
  690. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  691.   printf("WARNING: XtUngrabPointer\n");
  692. #endif
  693.   return(0);
  694. }
  695.  
  696. XmListDeselectPos(){/*       File 'file.o' */
  697. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  698.   printf("WARNING: XmListDeselectPos\n");
  699. #endif
  700.   return(0);
  701. }
  702.  
  703. XmListSelectPos(){/*         File 'file.o' */
  704. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  705.   printf("WARNING: XmListSelectPos\n");
  706. #endif
  707.   return(0);
  708. }
  709.  
  710. xmMainWindowWidgetClass(){/* File 'xnmr.o' */
  711. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  712.   printf("WARNING: xmMainWindowWidgetClass\n");
  713. #endif
  714.   return(0);
  715. }
  716.  
  717. XmListDeleteItems(){/*       File 'thermo.o' */
  718. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  719.   printf("WARNING: XmListDeleteItems\n");
  720. #endif
  721.   return(0);
  722. }
  723.  
  724. XmFontListGetNextFont(){/*   File 'xnmr.o' */
  725. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  726.   printf("WARNING: XmFontListGetNextFont\n");
  727. #endif
  728.   return(0);
  729. }
  730.  
  731. /*
  732. XRotDrawString(){
  733. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  734.   printf("WARNING: XRotDrawString\n");
  735. #endif
  736.   return(0);
  737. }
  738. */
  739.  
  740. XmListSetBottomItem(){/*     File 'thermo.o' */
  741. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  742.   printf("WARNING: XmListSetBottomItem\n");
  743. #endif
  744.   return(0);
  745. }
  746.  
  747. void XtVaGetApplicationResources(
  748.     Widget        widget,
  749.     XtPointer        base,
  750.     XtResourceList    resources,
  751.     Cardinal        num_resources,
  752.     ...
  753. ){/* File 'xnmr.o' */
  754. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  755.   printf("WARNING: XtVaGetApplicationResources\n");
  756. #endif
  757.   return(0);
  758. }
  759.  
  760. tempnam(){/*                 File 'file.o' */
  761. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  762.   printf("WARNING: tempnam\n");
  763. #endif
  764.   return(0);
  765. }
  766.  
  767. XmListAddItems(){/*          File 'file.o' */
  768. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  769.   printf("WARNING: XmListAddItems\n");
  770. #endif
  771.   return(0);
  772. }
  773.  
  774. void XtAddCallbacks(
  775.     Widget         widget,
  776.     _Xconst _XtString    callback_name,
  777.     XtCallbackList     callbacks
  778. ){/*          File 'windlib.o' */
  779. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  780.   printf("WARNING: XtAddCallbacks\n");
  781. #endif
  782.   return(0);
  783. }
  784.  
  785. void XtSetMappedWhenManaged(
  786.     Widget         widget,
  787.     _XtBoolean         mapped_when_managed
  788. ){/*  File 'simulation.o' */
  789. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  790.   printf("WARNING: XtSetMappedWhenManaged\n");
  791. #endif
  792.   return(0);
  793. }
  794.  
  795. rint(double d){/*                    File 'draw.o' */
  796. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  797.   printf("WARNING: rint\n");
  798. #endif
  799.   return(abs(d));
  800. }
  801.  
  802. XmScrolledWindowSetAreas(){/* File 'windlib.o' */
  803. #if (DEBUGXEMUL_ENTRY) || (DEBUGXEMUL_WARNING)
  804.   printf("WARNING: XmScrolledWindowSetAreas\n");
  805. #endif
  806.   return(0);
  807. }
  808.  
  809. /*
  810. #include <sys/commifmt.h>
  811.  
  812. S_ISDIR(mode){
  813.   if(mode&S_IFDIR) return(1);
  814.   return(0);
  815. }
  816.  
  817. S_ISREG(mode){
  818.   if(mode&S_IFREG) return(1);
  819.   return(0);
  820. }
  821. */
  822.  
  823. getdtablesize(){
  824.   return(32);
  825. }
  826.